package com.share.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 账号类型
 */
@Getter
public enum AccountTypeEnum {
    SYSTEM(1, "System", "系统账号"),
    WECHAT(2, "WECHAT", "微信"),
    GITE(3, "Gite", "谷歌");

    @EnumValue
    private final Integer code;
    private final String value;
    private final String desc;

    AccountTypeEnum(Integer code, String value, String desc) {
        this.code = code;
        this.value = value;
        this.desc = desc;
    }
}